//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    imgUrls: [
      '/images/index-head/book1.jpg',
      '/images/index-head/book2.jpg',
      '/images/index-head/book3.jpg',
      '/images/index-head/book4.jpg'
    ],
    indicatorDots: true,
    autoplay: true,
    interval: 3000,
    duration: 1000
  },
  onLoad: function () {
    
  }
})
